.container{
    width: 1200px;
    height: 2450px;
    background-image: url(5.jpg);
}
header{
    text-align: center;
    color: yellow;
    font-size: 40px;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
     
}
header:hover{
    width: 300px;
}
ul{
    width: 200px;
    height: 150px;
    color: rgb(219, 24, 24);
    font-size: 16px;
    text-decoration: none;
    list-style-type: none;
}
ul li{
    float: left;
    margin: 30px;
}
.one{
    width: 1000px;
    height: 500px;
    background-color: rgba(180, 230, 209, 0.486);
    position: relative;
    top:1px ;
    right: 15px;
    margin: 100px;
}
.one img{
    top: 40px;
    left: 20px;
    backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: absolute;
}

.one img:hover{
    transform: rotate(360deg);
}
.detail{
    width: 200px;
    height: 200px;
    background-color: rgb(174, 191, 207);
    position: absolute;
    top: 2px;
    right: 20px;
    padding: 100px;
    margin: 50px auto;
    animation: move 4s linear infinite reverse;
}
@keyframes move{
    0%{
        transform: translate(0,0);
    }
    50%{
        transform: translate(200px,0);
    }
    100%{
        transform: translate(0,200px) rotate(2);
    }
}

.hobby{
    width: 1200px;
    height:350px ;
    background-color: rgba(176, 196, 222, 0.384);
    position: absolute;
    top: 950px;
    margin: 50px auto;
    transition: width 2s;
    -moz-transition: width 2s;
    -webkit-transition: width 2s;
    -o-transition: width 2s;
}
.hobby:hover{
    width: 300px;
}
.hobby img{
    margin: 0 48px;
}
.work{
    width:1000px ;
    height: 1000px;
    background-color: rgba(250, 235, 215, 0.541);
    border: rgb(83, 76, 76) solid 1px;
    position: absolute;
    top: 1370px;
    left: 100px;
    margin: 50px auto;
    overflow: hidden;
}
.work img{
    margin: 0 48px;
    cursor: pointer;
    transition: all 0.6s;
}
.work img:hover{
    transform: scale(1.2);
}
.work h5{
    font-size: 18px;
}
.contact{
    width: 150px;
    height: 45px;
    position: absolute;
    background-color: rgba(240, 255, 240, 0.575);
    right: 400px;
    top: 2450px;
}
.contact p{
    top: 2650px;
    left: 1100px;
    display: none;
    color: rgb(248, 11, 11);
}
.contact:hover p{
display: block;
}




